﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BSCMFF.Core.DataAccessLayer;
using BSCMFF.Core.BusinessLayer;
using BSCMFF.Core.DataAccessLayer.DataObjects;
using BSCMFF.Core;

namespace BSCMFF.Web
{
    public partial class LoginX : MultiLanguagePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (User.Identity.IsAuthenticated)
            {
                Response.Redirect("~/Default.aspx");
            }
            //BSCEntities context = new BSCEntities();

            //User u = (from us in context.Users
            //          where us.ID == 5
            //          select us).SingleOrDefault();

            //L.Text = u.Fullname;
            //string data = "";
            //for (int i = 0; i < 100; ++i)
            //{
            //    data += "MenoTesla" + i.ToString() + "," + "PriezviskoTesla" + i.ToString() + "," + "Email" + i.ToString() + "@tesla.bsc,,LoginTesla" + i.ToString() + ",,,DepartmentTesla,,,,Lukas" + Environment.NewLine; 
            //}
            //string d = data;
        }

        protected void LoginBSCMFF_Load(object sender, EventArgs e)
        {

        }
    }
}